import request from '@/utils/request'


export function queryHealthModel(model) {
  return request({
    url: '/healthModelController/queryHealthModel',
    method: 'get',
    params: model,

  })
}


export function deleteHealthModel(model) {
  return request({
    url: '/healthModelController/deleteHealthModel',
    method: 'post',
    data: model,

  })
}

export function addHealthModel(model) {
  return request({
    url: '/healthModelController/addHealthModel',
    method: 'post',
    data: model,

  })
}

export function updateHealthModel(model) {
  return request({
    url: '/healthModelController/updateHealthModel',
    method: 'post',
    data: model,

  })
}

export function copyHealthModel(model) {
  return request({
    url: '/healthModelController/copyHealthModel',
    method: 'post',
    data: model,

  })
}


export function queryHealthModelById(model) {
  return request({
    url: '/healthModelController/queryHealthModelById',
    method: 'post',
    data: model,

  })
}







export function queryLoadModel(model) {
  return request({
    url: '/loadModelController/queryLoadModel',
    method: 'post',
    data: model,

  })
}

export function copyLoadModel(model) {
  return request({
    url: '/loadModelController/copyloadModel',
    method: 'post',
    data: model,

  })
}


export function deleteLoadModel(model) {
  return request({
    url: '/loadModelController/deleteLoadModel',
    method: 'post',
    data: model,

  })
}




export function addLoadModel(model) {
  return request({
    url: '/loadModelController/addLoadModel',
    method: 'post',
    data: model,

  })
}

export function updateLoadModel(model) {
  return request({
    url: '/loadModelController/updateLoadModel',
    method: 'post',
    data: model,

  })
}


export function queryLoadModelById(model) {
  return request({
    url: '/loadModelController/queryLoadModelById',
    method: 'post',
    data: model,

  })
}





///

export function queryPerformanceModel(model) {
  return request({
    url: '/PerformanceModelController/queryPerformanceModel',
    method: 'post',
    data: model,

  })
}
export function copyPerformanceModel(model) {
  return request({
    url: '/PerformanceModelController/copyPerformanceModel',
    method: 'post',
    data: model,

  })
}

export function deletePerformanceModel(model) {
  return request({
    url: '/PerformanceModelController/deletePerformanceModel',
    method: 'post',
    data: model,

  })
}

export function addPerformanceModel(model) {
  return request({
    url: '/PerformanceModelController/addPerformanceModel',
    method: 'post',
    data: model,

  })
}

export function updatePerformanceModel(model) {
  return request({
    url: '/PerformanceModelController/updatePerformanceModel',
    method: 'post',
    data: model,

  })
}


export function queryPerformanceModelById(model) {
  return request({
    url: '/PerformanceModelController/queryPerformanceModelById',
    method: 'post',
    data: model,

  })
}


export function deleteAllHealth(model) {
  return request({
    url: '/PerformanceModelController/queryPerformanceModelById',
    method: 'post',
    data: model,

  })
}

export function deleteAllLoad(model) {
  return request({
    url: '/PerformanceModelController/queryPerformanceModelById',
    method: 'post',
    data: model,

  })
}

export function deleteAllPerformance(model) {
  return request({
    url: '/PerformanceModelController/queryPerformanceModelById',
    method: 'post',
    data: model,

  })
}





